package powerControl.entity;

import java.util.Date;

/**
 * RoleResourceRelation entity. @author MyEclipse Persistence Tools
 */

public class RoleResourceRelation implements java.io.Serializable {

	// Fields

	private String uuid;
	private Resource resource;
	private Role role;
	private Boolean state;
	private Date createTime;
	private String creatorId;
	private String remark;

	// Constructors

	/** default constructor */
	public RoleResourceRelation() {
	}

	/** minimal constructor */
	public RoleResourceRelation(Resource resource, Role role, Boolean state) {
		this.resource = resource;
		this.role = role;
		this.state = state;
	}

	/** full constructor */
	public RoleResourceRelation(Resource resource, Role role, Boolean state,
			Date createTime, String creatorId, String remark) {
		this.resource = resource;
		this.role = role;
		this.state = state;
		this.createTime = createTime;
		this.creatorId = creatorId;
		this.remark = remark;
	}

	// Property accessors

	public String getUuid() {
		return this.uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public Resource getResource() {
		return this.resource;
	}

	public void setResource(Resource resource) {
		this.resource = resource;
	}

	public Role getRole() {
		return this.role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public Boolean getState() {
		return this.state;
	}

	public void setState(Boolean state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreatorId() {
		return this.creatorId;
	}

	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}